<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"  
    xmlns:p="http://primefaces.org/ui">  
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Sistema Gas</title>
<link rel="stylesheet" type="text/css" href="#{facesContext.externalContext.requestContextPath}/css/estilos.css" media="screen" />   
</h:head>
<h:body>

<div id="menu">
	<h:form>
    <p:growl id="messages"/>
    <div style="font-size: 12px; width: 1026px; ">
    <p:menubar>
    <p:menuitem value="Home" action="busca" icon="ui-icon-home" rendered="true" />
    <p:menuitem value="Pedidos" action="pedido" icon="ui-icon-home" rendered="true" />
        <p:submenu label="Cadastro" icon="ui-icon-document">
            <p:submenu label="Novo" >
                <p:menuitem value="Cliente" action="cadCliente" icon="ui-icon-person" />
               </p:submenu>
             </p:submenu>

        <p:submenu label="Relatorio" icon="ui-icon-zoomin">
            <p:menuitem value="Cliente" action="ListaClienteUser" icon="ui-icon-person" />
            <p:menuitem value="Vendas" action="ListaVendas" icon="ui-icon-cart"/>
        </p:submenu>
	        <div style="background: red;"><p:menuitem value="Sair" action="#{loginBean.logoutUser}"  icon="ui-icon-power" rendered="true" /></div>
        <f:facet name="options">
           <div style="color: black; padding-top: 5px; margin-right: 5px;"><b style="color: #828282;">Usuario Logado : </b><p:outputLabel value="#{loginBean.mostrarLogadoUser()}" style="color:#FF7F24;"></p:outputLabel></div>             
        </f:facet>
        
    </p:menubar>
		</div>
		
		</h:form>
</div>
	</h:body></html>